package cn.qingyun.gis.modules.baogan.vo.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author LHJ
 * @description
 * @date 2024/11/15 9:08
 */
@Data
public class PerimeterRequest {

    @NotEmpty(message = "区划编码不能为空！")
    private String code;

    @NotNull(message = "中心点经度不能为空！")
    private Double lng;

    @NotNull(message = "中心点纬度不能为空！")
    private Double lat;

    @NotEmpty(message = "场景类型不能为空！")
    private String type;
}
